package com.whfc.mach.enums;

/**
 * @ClasssName NetState
 * @Description 网络状态
 * @Author hw
 * @Date 2020/8/22 9:40
 * @Version 1.0
 */
public enum  NetState {


    OFFLINE(0, "离线"),

    ONLINE(1, "在线");

    private Integer value;

    private String desc;

    NetState(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
